﻿namespace com.binance.client.model.user
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class UserDataUpdateEvent
	{

		private string eventType;

		private long? eventTime;

		private long? transactionTime;

		private AccountUpdate accountUpdate;

		private OrderUpdate orderUpdate;

		public virtual string EventType
		{
			get
			{
				return eventType;
			}
			set
			{
				this.eventType = value;
			}
		}


		public virtual long? EventTime
		{
			get
			{
				return eventTime;
			}
			set
			{
				this.eventTime = value;
			}
		}


		public virtual long? TransactionTime
		{
			get
			{
				return transactionTime;
			}
			set
			{
				this.transactionTime = value;
			}
		}


		public virtual AccountUpdate AccountUpdate
		{
			get
			{
				return accountUpdate;
			}
			set
			{
				this.accountUpdate = value;
			}
		}


		public virtual OrderUpdate OrderUpdate
		{
			get
			{
				return orderUpdate;
			}
			set
			{
				this.orderUpdate = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("eventType", eventType).append("eventTime", eventTime).append("accountUpdate", accountUpdate).append("orderUpdate", orderUpdate).ToString();
		}
	}

}